home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / mac / hypercrd / hc1_2_x / smrtslds.sit / SmartSlides 1.1 Demo / background_3859.txt < prev    next >
Text File  |  1990-06-12  |  16KB  |  703 lines

  1. -- background: 3859 from stack: in.1 Demo
  2. -- bmap block id: 4136
  3. -- flags: 4000
  4. -- background id: 0
  5. -- name: FX
  6. ----- HyperTalk script -----
  7. on normalspeed
  8.   repeat with i = 16 to 19
  9.     set the hilite of background button i to false
  10.   end repeat
  11. end normalspeed
  12.  
  13. on normalimage
  14.   repeat with i = 20 to 24
  15.     set the hilite of background button i to false
  16.   end repeat
  17. end normalimage
  18.  
  19. on setEffect
  20.   global FX, Direction
  21.   lock screen
  22.   put empty into ThisEffect
  23.   repeat with i = 1 to 24
  24.     if the hilite of background button i is true
  25.     then
  26.     put space & the short name of background button i after ThisEffect
  27.   end if
  28. end repeat
  29. put ThisEffect into line direction of FX
  30. unlock screen with visual effect ThisEffect
  31. end setEffect
  32.  
  33.  
  34.  
  35.  
  36. -- part 57 (button)
  37. -- low flags: 00
  38. -- high flags: A005
  39. -- rect: left=41 top=24 right=38 bottom=472
  40. -- title width / last selected line: 0
  41. -- icon id / first selected line: 0 / 0
  42. -- text alignment: 1
  43. -- font id: 0
  44. -- text size: 12
  45. -- style flags: 0
  46. -- line height: 16
  47. -- part name: PLAIN
  48. ----- HyperTalk script -----
  49. on mouseUp
  50.   repeat with i = 2 to 24
  51.     set the hilite of background button i to false
  52.   end repeat
  53. end mouseUp
  54.  
  55.  
  56.  
  57. -- part 39 (button)
  58. -- low flags: 00
  59. -- high flags: A005
  60. -- rect: left=41 top=60 right=74 bottom=129
  61. -- title width / last selected line: 0
  62. -- icon id / first selected line: 0 / 0
  63. -- text alignment: 1
  64. -- font id: 0
  65. -- text size: 12
  66. -- style flags: 0
  67. -- line height: 16
  68. -- part name: wipe
  69. ----- HyperTalk script -----
  70. on mouseUp
  71.   repeat with i = 1 to 9
  72.     set the hilite of background button i to false
  73.   end repeat
  74.   set the hilite of me to true
  75.   set the hilite of background button 14 to false
  76.   set the hilite of background button 15 to false
  77.   if the hilite of background button 10 is false and the hilite of background button 11 is false and the hilite of background button 12 is false and the hilite of background button 13 is false then set the hilite of background button 11 to true
  78. end mouseUp
  79.  
  80.  
  81.  
  82. -- part 47 (button)
  83. -- low flags: 00
  84. -- high flags: A005
  85. -- rect: left=41 top=84 right=98 bottom=129
  86. -- title width / last selected line: 0
  87. -- icon id / first selected line: 0 / 0
  88. -- text alignment: 1
  89. -- font id: 0
  90. -- text size: 12
  91. -- style flags: 0
  92. -- line height: 16
  93. -- part name: scroll
  94. ----- HyperTalk script -----
  95. on mouseUp
  96.   repeat with i = 1 to 9
  97.     set the hilite of background button i to false
  98.   end repeat
  99.   set the hilite of me to true
  100.   set the hilite of background button 14 to false
  101.   set the hilite of background button 15 to false
  102.   if the hilite of background button 10 is false and the hilite of background button 11 is false and the hilite of background button 12 is false and the hilite of background button 13 is false then set the hilite of background button 11 to true
  103. end mouseUp
  104.  
  105.  
  106.  
  107. -- part 49 (button)
  108. -- low flags: 00
  109. -- high flags: A005
  110. -- rect: left=41 top=141 right=155 bottom=129
  111. -- title width / last selected line: 0
  112. -- icon id / first selected line: 0 / 0
  113. -- text alignment: 1
  114. -- font id: 0
  115. -- text size: 12
  116. -- style flags: 0
  117. -- line height: 16
  118. -- part name: iris
  119. ----- HyperTalk script -----
  120. on mouseUp
  121.   repeat with i = 1 to 13
  122.     set the hilite of background button i to false
  123.   end repeat
  124.   set the hilite of me to true
  125.   if the hilite of background button 14 is false and the hilite of background button 15 is false then set the hilite of background button 14 to true
  126. end mouseUp
  127.  
  128.  
  129.  
  130. -- part 52 (button)
  131. -- low flags: 00
  132. -- high flags: A005
  133. -- rect: left=40 top=163 right=177 bottom=129
  134. -- title width / last selected line: 0
  135. -- icon id / first selected line: 0 / 0
  136. -- text alignment: 1
  137. -- font id: 0
  138. -- text size: 12
  139. -- style flags: 0
  140. -- line height: 16
  141. -- part name: barn door
  142. ----- HyperTalk script -----
  143. on mouseUp
  144.   repeat with i = 1 to 13
  145.     set the hilite of background button i to false
  146.   end repeat
  147.   set the hilite of me to true
  148.   if the hilite of background button 14 is false and the hilite of background button 15 is false then set the hilite of background button 14 to true
  149. end mouseUp
  150.  
  151.  
  152.  
  153. -- part 53 (button)
  154. -- low flags: 00
  155. -- high flags: A005
  156. -- rect: left=41 top=185 right=199 bottom=129
  157. -- title width / last selected line: 0
  158. -- icon id / first selected line: 0 / 0
  159. -- text alignment: 1
  160. -- font id: 0
  161. -- text size: 12
  162. -- style flags: 0
  163. -- line height: 16
  164. -- part name: zoom
  165. ----- HyperTalk script -----
  166. on mouseUp
  167.   repeat with i = 1 to 13
  168.     set the hilite of background button i to false
  169.   end repeat
  170.   set the hilite of me to true
  171.   if the hilite of background button 14 is false and the hilite of background button 15 is false then set the hilite of background button 14 to true
  172. end mouseUp
  173.  
  174.  
  175.  
  176. -- part 55 (button)
  177. -- low flags: 00
  178. -- high flags: A005
  179. -- rect: left=41 top=219 right=233 bottom=238
  180. -- title width / last selected line: 0
  181. -- icon id / first selected line: 0 / 0
  182. -- text alignment: 1
  183. -- font id: 0
  184. -- text size: 12
  185. -- style flags: 0
  186. -- line height: 16
  187. -- part name: checkerboard
  188. ----- HyperTalk script -----
  189. on mouseUp
  190.   repeat with i = 1 to 15
  191.     set the hilite of background button i to false
  192.   end repeat
  193.   set the hilite of me to true
  194. end mouseUp
  195.  
  196.  
  197.  
  198. -- part 56 (button)
  199. -- low flags: 00
  200. -- high flags: E005
  201. -- rect: left=41 top=241 right=255 bottom=238
  202. -- title width / last selected line: 0
  203. -- icon id / first selected line: 0 / 0
  204. -- text alignment: 1
  205. -- font id: 0
  206. -- text size: 12
  207. -- style flags: 0
  208. -- line height: 16
  209. -- part name: venetian blinds
  210. ----- HyperTalk script -----
  211. on mouseUp
  212.   repeat with i = 1 to 15
  213.     set the hilite of background button i to false
  214.   end repeat
  215.   set the hilite of me to true
  216. end mouseUp
  217.  
  218.  
  219.  
  220. -- part 38 (button)
  221. -- low flags: 00
  222. -- high flags: A005
  223. -- rect: left=41 top=262 right=276 bottom=238
  224. -- title width / last selected line: 0
  225. -- icon id / first selected line: 0 / 0
  226. -- text alignment: 1
  227. -- font id: 0
  228. -- text size: 12
  229. -- style flags: 0
  230. -- line height: 16
  231. -- part name: dissolve
  232. ----- HyperTalk script -----
  233. on mouseUp
  234.   repeat with i = 1 to 15
  235.     set the hilite of background button i to false
  236.   end repeat
  237.   set the hilite of me to true
  238. end mouseUp
  239.  
  240.  
  241.  
  242. -- part 45 (button)
  243. -- low flags: 00
  244. -- high flags: A005
  245. -- rect: left=152 top=43 right=57 bottom=239
  246. -- title width / last selected line: 0
  247. -- icon id / first selected line: 0 / 0
  248. -- text alignment: 1
  249. -- font id: 0
  250. -- text size: 12
  251. -- style flags: 0
  252. -- line height: 16
  253. -- part name: down
  254. ----- HyperTalk script -----
  255. on mouseUp
  256.   set the hilite of background button 1 to false
  257.   repeat with i = 4 to 15
  258.     set the hilite of background button i to false
  259.   end repeat
  260.   set the hilite of me to true
  261. end mouseUp
  262.  
  263.  
  264.  
  265. -- part 40 (button)
  266. -- low flags: 00
  267. -- high flags: A005
  268. -- rect: left=152 top=61 right=76 bottom=238
  269. -- title width / last selected line: 0
  270. -- icon id / first selected line: 0 / 0
  271. -- text alignment: 1
  272. -- font id: 0
  273. -- text size: 12
  274. -- style flags: 0
  275. -- line height: 16
  276. -- part name: left
  277. ----- HyperTalk script -----
  278. on mouseUp
  279.   set the hilite of background button 1 to false
  280.   repeat with i = 4 to 15
  281.     set the hilite of background button i to false
  282.   end repeat
  283.   set the hilite of me to true
  284. end mouseUp
  285.  
  286.  
  287.  
  288. -- part 41 (button)
  289. -- low flags: 00
  290. -- high flags: A005
  291. -- rect: left=152 top=81 right=95 bottom=238
  292. -- title width / last selected line: 0
  293. -- icon id / first selected line: 0 / 0
  294. -- text alignment: 1
  295. -- font id: 0
  296. -- text size: 12
  297. -- style flags: 0
  298. -- line height: 16
  299. -- part name: right
  300. ----- HyperTalk script -----
  301. on mouseUp
  302.   set the hilite of background button 1 to false
  303.   repeat with i = 4 to 15
  304.     set the hilite of background button i to false
  305.   end repeat
  306.   set the hilite of me to true
  307. end mouseUp
  308.  
  309.  
  310.  
  311. -- part 44 (button)
  312. -- low flags: 00
  313. -- high flags: A005
  314. -- rect: left=152 top=100 right=114 bottom=238
  315. -- title width / last selected line: 0
  316. -- icon id / first selected line: 0 / 0
  317. -- text alignment: 1
  318. -- font id: 0
  319. -- text size: 12
  320. -- style flags: 0
  321. -- line height: 16
  322. -- part name: up
  323. ----- HyperTalk script -----
  324. on mouseUp
  325.   set the hilite of background button 1 to false
  326.   repeat with i = 4 to 15
  327.     set the hilite of background button i to false
  328.   end repeat
  329.   set the hilite of me to true
  330. end mouseUp
  331.  
  332.  
  333.  
  334. -- part 51 (button)
  335. -- low flags: 00
  336. -- high flags: A005
  337. -- rect: left=152 top=152 right=166 bottom=238
  338. -- title width / last selected line: 0
  339. -- icon id / first selected line: 0 / 0
  340. -- text alignment: 1
  341. -- font id: 0
  342. -- text size: 12
  343. -- style flags: 0
  344. -- line height: 16
  345. -- part name: open
  346. ----- HyperTalk script -----
  347. on mouseUp
  348.   repeat with i = 1 to 3
  349.     set the hilite of background button i to false
  350.   end repeat
  351.   repeat with i = 7 to 15
  352.     set the hilite of background button i to false
  353.   end repeat
  354.   set the hilite of me to true
  355. end mouseUp
  356.  
  357.  
  358.  
  359. -- part 50 (button)
  360. -- low flags: 00
  361. -- high flags: A005
  362. -- rect: left=152 top=176 right=190 bottom=238
  363. -- title width / last selected line: 0
  364. -- icon id / first selected line: 0 / 0
  365. -- text alignment: 1
  366. -- font id: 0
  367. -- text size: 12
  368. -- style flags: 0
  369. -- line height: 16
  370. -- part name: close
  371. ----- HyperTalk script -----
  372. on mouseUp
  373.   repeat with i = 1 to 3
  374.     set the hilite of background button i to false
  375.   end repeat
  376.   repeat with i = 7 to 15
  377.     set the hilite of background button i to false
  378.   end repeat
  379.   set the hilite of me to true
  380. end mouseUp
  381.  
  382.  
  383.  
  384. -- part 58 (button)
  385. -- low flags: 00
  386. -- high flags: E005
  387. -- rect: left=261 top=129 right=143 bottom=357
  388. -- title width / last selected line: 0
  389. -- icon id / first selected line: 0 / 0
  390. -- text alignment: 1
  391. -- font id: 0
  392. -- text size: 12
  393. -- style flags: 0
  394. -- line height: 16
  395. -- part name: slowly
  396. ----- HyperTalk script -----
  397. on mouseUp
  398.   set the hilite of background button 1 to false
  399.   normalspeed
  400.   set the hilite of me to true
  401. end mouseUp
  402.  
  403.  
  404.  
  405. -- part 59 (button)
  406. -- low flags: 00
  407. -- high flags: A005
  408. -- rect: left=261 top=151 right=165 bottom=357
  409. -- title width / last selected line: 0
  410. -- icon id / first selected line: 0 / 0
  411. -- text alignment: 1
  412. -- font id: 0
  413. -- text size: 12
  414. -- style flags: 0
  415. -- line height: 16
  416. -- part name: very slowly
  417. ----- HyperTalk script -----
  418. on mouseUp
  419.   set the hilite of background button 1 to false
  420.   normalspeed
  421.   set the hilite of me to true
  422. end mouseUp
  423.  
  424.  
  425.  
  426. -- part 60 (button)
  427. -- low flags: 00
  428. -- high flags: A005
  429. -- rect: left=261 top=172 right=186 bottom=357
  430. -- title width / last selected line: 0
  431. -- icon id / first selected line: 0 / 0
  432. -- text alignment: 1
  433. -- font id: 0
  434. -- text size: 12
  435. -- style flags: 0
  436. -- line height: 16
  437. -- part name: fast
  438. ----- HyperTalk script -----
  439. on mouseUp
  440.   set the hilite of background button 1 to false
  441.   normalspeed
  442.   set the hilite of me to true
  443. end mouseUp
  444.  
  445.  
  446.  
  447. -- part 61 (button)
  448. -- low flags: 00
  449. -- high flags: A005
  450. -- rect: left=261 top=193 right=207 bottom=357
  451. -- title width / last selected line: 0
  452. -- icon id / first selected line: 0 / 0
  453. -- text alignment: 1
  454. -- font id: 0
  455. -- text size: 12
  456. -- style flags: 0
  457. -- line height: 16
  458. -- part name: very fast
  459. ----- HyperTalk script -----
  460. on mouseUp
  461.   set the hilite of background button 1 to false
  462.   normalspeed
  463.   set the hilite of me to true
  464. end mouseUp
  465.  
  466.  
  467.  
  468. -- part 62 (button)
  469. -- low flags: 00
  470. -- high flags: A005
  471. -- rect: left=376 top=115 right=129 bottom=472
  472. -- title width / last selected line: 0
  473. -- icon id / first selected line: 0 / 0
  474. -- text alignment: 1
  475. -- font id: 0
  476. -- text size: 12
  477. -- style flags: 0
  478. -- line height: 16
  479. -- part name: to white
  480. ----- HyperTalk script -----
  481. on mouseUp
  482.   set the hilite of background button 1 to false
  483.   normalimage
  484.   set the hilite of me to true
  485. end mouseUp
  486.  
  487.  
  488.  
  489. -- part 63 (button)
  490. -- low flags: 00
  491. -- high flags: A005
  492. -- rect: left=377 top=140 right=154 bottom=473
  493. -- title width / last selected line: 0
  494. -- icon id / first selected line: 0 / 0
  495. -- text alignment: 1
  496. -- font id: 0
  497. -- text size: 12
  498. -- style flags: 0
  499. -- line height: 16
  500. -- part name: to gray
  501. ----- HyperTalk script -----
  502. on mouseUp
  503.   set the hilite of background button 1 to false
  504.   normalimage
  505.   set the hilite of me to true
  506. end mouseUp
  507.  
  508.  
  509.  
  510. -- part 64 (button)
  511. -- low flags: 00
  512. -- high flags: E005
  513. -- rect: left=377 top=162 right=176 bottom=473
  514. -- title width / last selected line: 0
  515. -- icon id / first selected line: 0 / 0
  516. -- text alignment: 1
  517. -- font id: 0
  518. -- text size: 12
  519. -- style flags: 0
  520. -- line height: 16
  521. -- part name: to black
  522. ----- HyperTalk script -----
  523. on mouseUp
  524.   set the hilite of background button 1 to false
  525.   normalimage
  526.   set the hilite of me to true
  527. end mouseUp
  528.  
  529.  
  530.  
  531. -- part 65 (button)
  532. -- low flags: 00
  533. -- high flags: A005
  534. -- rect: left=377 top=184 right=198 bottom=473
  535. -- title width / last selected line: 0
  536. -- icon id / first selected line: 0 / 0
  537. -- text alignment: 1
  538. -- font id: 0
  539. -- text size: 12
  540. -- style flags: 0
  541. -- line height: 16
  542. -- part name: to card
  543. ----- HyperTalk script -----
  544. on mouseUp
  545.   set the hilite of background button 1 to false
  546.   normalimage
  547.   set the hilite of me to true
  548. end mouseUp
  549.  
  550.  
  551.  
  552. -- part 66 (button)
  553. -- low flags: 00
  554. -- high flags: A005
  555. -- rect: left=377 top=206 right=220 bottom=473
  556. -- title width / last selected line: 0
  557. -- icon id / first selected line: 0 / 0
  558. -- text alignment: 1
  559. -- font id: 0
  560. -- text size: 12
  561. -- style flags: 0
  562. -- line height: 16
  563. -- part name: to inverse
  564. ----- HyperTalk script -----
  565. on mouseUp
  566.   set the hilite of background button 1 to false
  567.   normalimage
  568.   set the hilite of me to true
  569. end mouseUp
  570.  
  571.  
  572.  
  573. -- part 67 (button)
  574. -- low flags: 00
  575. -- high flags: A003
  576. -- rect: left=313 top=283 right=305 bottom=472
  577. -- title width / last selected line: 0
  578. -- icon id / first selected line: 0 / 0
  579. -- text alignment: 1
  580. -- font id: 0
  581. -- text size: 12
  582. -- style flags: 0
  583. -- line height: 16
  584. -- part name: Set Forward Effect >>
  585. ----- HyperTalk script -----
  586. on mouseUp
  587.   global Direction
  588.   put 1 into Direction
  589.   setEffect
  590. end mouseUp
  591.  
  592.  
  593.  
  594. -- part 73 (button)
  595. -- low flags: 00
  596. -- high flags: A003
  597. -- rect: left=34 top=283 right=305 bottom=194
  598. -- title width / last selected line: 0
  599. -- icon id / first selected line: 0 / 0
  600. -- text alignment: 1
  601. -- font id: 0
  602. -- text size: 12
  603. -- style flags: 0
  604. -- line height: 16
  605. -- part name: <<Set Backward Effect
  606. ----- HyperTalk script -----
  607. on mouseUp
  608.   global Direction
  609.   put 2 into Direction
  610.   setEffect
  611. end mouseUp
  612.  
  613.  
  614.  
  615. -- part 74 (button)
  616. -- low flags: 00
  617. -- high flags: A003
  618. -- rect: left=224 top=283 right=305 bottom=289
  619. -- title width / last selected line: 0
  620. -- icon id / first selected line: 0 / 0
  621. -- text alignment: 1
  622. -- font id: 0
  623. -- text size: 12
  624. -- style flags: 0
  625. -- line height: 16
  626. -- part name: DONE
  627. ----- HyperTalk script -----
  628. on mouseUp
  629.   global FX
  630.   lock screen
  631.   show picture of card "FX"
  632.   show card button "Go Back"
  633.   repeat with i = 1 to the number of card fields
  634.     show card field i
  635.   end repeat
  636.   set the lockmessages to true
  637.   pop card
  638.   set the lockmessages to false
  639.   openBackground
  640.   do "put FX into background field " & quote & "FX" & quote
  641.   unlock screen
  642. end mouseUp
  643.  
  644.  
  645.  
  646. -- part 75 (button)
  647. -- low flags: 00
  648. -- high flags: 8003
  649. -- rect: left=380 top=236 right=258 bottom=460
  650. -- title width / last selected line: 0
  651. -- icon id / first selected line: 0 / 0
  652. -- text alignment: 1
  653. -- font id: 0
  654. -- text size: 12
  655. -- style flags: 0
  656. -- line height: 16
  657. -- part name: Normal
  658. ----- HyperTalk script -----
  659. on mouseUp
  660.   normalimage
  661. end mouseUp
  662.  
  663.  
  664.  
  665. -- part 76 (button)
  666. -- low flags: 00
  667. -- high flags: 8003
  668. -- rect: left=268 top=236 right=258 bottom=348
  669. -- title width / last selected line: 0
  670. -- icon id / first selected line: 0 / 0
  671. -- text alignment: 1
  672. -- font id: 0
  673. -- text size: 12
  674. -- style flags: 0
  675. -- line height: 16
  676. -- part name: Normal
  677. ----- HyperTalk script -----
  678. on mouseUp
  679.   normalspeed
  680. end mouseUp
  681.  
  682.  
  683.  
  684. -- part 78 (field)
  685. -- low flags: 81
  686. -- high flags: 0002
  687. -- rect: left=456 top=0 right=13 bottom=491
  688. -- title width / last selected line: 0
  689. -- icon id / first selected line: 0 / 0
  690. -- text alignment: 1
  691. -- font id: 3
  692. -- text size: 9
  693. -- style flags: 256
  694. -- line height: 10
  695. -- part name: CardNumber
  696. ----- HyperTalk script -----
  697. on mousedown
  698. end mousedown
  699.  
  700. on mouseup
  701. end mouseup
  702.  
  703.